<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: Hough Transform</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Hough Transform<div class="ingroups"><a class="el" href="../../d1/d1e/group__cuda.html">CUDA-accelerated Computer Vision</a> &raquo; <a class="el" href="../../d0/d05/group__cudaimgproc.html">Image Processing</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d80/classcv_1_1cuda_1_1HoughCirclesDetector.html">cv::cuda::HoughCirclesDetector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base class for circles detector algorithm. :  <a href="../../da/d80/classcv_1_1cuda_1_1HoughCirclesDetector.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dcd/classcv_1_1cuda_1_1HoughLinesDetector.html">cv::cuda::HoughLinesDetector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base class for lines detector algorithm. :  <a href="../../d2/dcd/classcv_1_1cuda_1_1HoughLinesDetector.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/df9/classcv_1_1cuda_1_1HoughSegmentDetector.html">cv::cuda::HoughSegmentDetector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base class for line segments detector algorithm. :  <a href="../../d6/df9/classcv_1_1cuda_1_1HoughSegmentDetector.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gab1ad5dc018f9b42d291aa4781d6ee620"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../dc/d46/classcv_1_1GeneralizedHoughBallard.html">GeneralizedHoughBallard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d15/group__cudaimgproc__hough.html#gab1ad5dc018f9b42d291aa4781d6ee620">cv::cuda::createGeneralizedHoughBallard</a> ()</td></tr>
<tr class="memdesc:gab1ad5dc018f9b42d291aa4781d6ee620"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates implementation for generalized hough transform from <a class="el" href="../../d0/de3/citelist.html#CITEREF_Ballard1981">[14]</a> .  <a href="../../d2/d15/group__cudaimgproc__hough.html#gab1ad5dc018f9b42d291aa4781d6ee620">More...</a><br /></td></tr>
<tr class="separator:gab1ad5dc018f9b42d291aa4781d6ee620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b0e2bd03af39ae97ab4f358aa5378ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d3/d20/classcv_1_1GeneralizedHoughGuil.html">GeneralizedHoughGuil</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d15/group__cudaimgproc__hough.html#ga4b0e2bd03af39ae97ab4f358aa5378ab">cv::cuda::createGeneralizedHoughGuil</a> ()</td></tr>
<tr class="memdesc:ga4b0e2bd03af39ae97ab4f358aa5378ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates implementation for generalized hough transform from <a class="el" href="../../d0/de3/citelist.html#CITEREF_Guil1999">[100]</a> .  <a href="../../d2/d15/group__cudaimgproc__hough.html#ga4b0e2bd03af39ae97ab4f358aa5378ab">More...</a><br /></td></tr>
<tr class="separator:ga4b0e2bd03af39ae97ab4f358aa5378ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e7921f114a5a4a3c85e86484c8f9597"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../da/d80/classcv_1_1cuda_1_1HoughCirclesDetector.html">HoughCirclesDetector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d15/group__cudaimgproc__hough.html#ga8e7921f114a5a4a3c85e86484c8f9597">cv::cuda::createHoughCirclesDetector</a> (float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles=4096)</td></tr>
<tr class="memdesc:ga8e7921f114a5a4a3c85e86484c8f9597"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates implementation for <a class="el" href="../../da/d80/classcv_1_1cuda_1_1HoughCirclesDetector.html" title="Base class for circles detector algorithm. : ">cuda::HoughCirclesDetector</a> .  <a href="../../d2/d15/group__cudaimgproc__hough.html#ga8e7921f114a5a4a3c85e86484c8f9597">More...</a><br /></td></tr>
<tr class="separator:ga8e7921f114a5a4a3c85e86484c8f9597"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ac6e82a77233239dc20e14d1c21ddf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d2/dcd/classcv_1_1cuda_1_1HoughLinesDetector.html">HoughLinesDetector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d15/group__cudaimgproc__hough.html#ga1ac6e82a77233239dc20e14d1c21ddf9">cv::cuda::createHoughLinesDetector</a> (float rho, float theta, int <a class="el" href="../../d8/d34/group__cudaarithm__elem.html#ga40f1c94ae9a9456df3cad48e3cb008e1">threshold</a>, bool doSort=false, int maxLines=4096)</td></tr>
<tr class="memdesc:ga1ac6e82a77233239dc20e14d1c21ddf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates implementation for <a class="el" href="../../d2/dcd/classcv_1_1cuda_1_1HoughLinesDetector.html" title="Base class for lines detector algorithm. : ">cuda::HoughLinesDetector</a> .  <a href="../../d2/d15/group__cudaimgproc__hough.html#ga1ac6e82a77233239dc20e14d1c21ddf9">More...</a><br /></td></tr>
<tr class="separator:ga1ac6e82a77233239dc20e14d1c21ddf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a5959a24e8cb4da131bcffbf56b13cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d6/df9/classcv_1_1cuda_1_1HoughSegmentDetector.html">HoughSegmentDetector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d15/group__cudaimgproc__hough.html#ga5a5959a24e8cb4da131bcffbf56b13cd">cv::cuda::createHoughSegmentDetector</a> (float rho, float theta, int minLineLength, int maxLineGap, int maxLines=4096)</td></tr>
<tr class="memdesc:ga5a5959a24e8cb4da131bcffbf56b13cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates implementation for <a class="el" href="../../d6/df9/classcv_1_1cuda_1_1HoughSegmentDetector.html" title="Base class for line segments detector algorithm. : ">cuda::HoughSegmentDetector</a> .  <a href="../../d2/d15/group__cudaimgproc__hough.html#ga5a5959a24e8cb4da131bcffbf56b13cd">More...</a><br /></td></tr>
<tr class="separator:ga5a5959a24e8cb4da131bcffbf56b13cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="gab1ad5dc018f9b42d291aa4781d6ee620"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab1ad5dc018f9b42d291aa4781d6ee620">&#9670;&nbsp;</a></span>createGeneralizedHoughBallard()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../dc/d46/classcv_1_1GeneralizedHoughBallard.html">GeneralizedHoughBallard</a>&gt; cv::cuda::createGeneralizedHoughBallard </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../de/de4/cudaimgproc_8hpp.html">opencv2/cudaimgproc.hpp</a>&gt;</code></p>

<p>Creates implementation for generalized hough transform from <a class="el" href="../../d0/de3/citelist.html#CITEREF_Ballard1981">[14]</a> . </p>

</div>
</div>
<a id="ga4b0e2bd03af39ae97ab4f358aa5378ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4b0e2bd03af39ae97ab4f358aa5378ab">&#9670;&nbsp;</a></span>createGeneralizedHoughGuil()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d3/d20/classcv_1_1GeneralizedHoughGuil.html">GeneralizedHoughGuil</a>&gt; cv::cuda::createGeneralizedHoughGuil </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../de/de4/cudaimgproc_8hpp.html">opencv2/cudaimgproc.hpp</a>&gt;</code></p>

<p>Creates implementation for generalized hough transform from <a class="el" href="../../d0/de3/citelist.html#CITEREF_Guil1999">[100]</a> . </p>

</div>
</div>
<a id="ga8e7921f114a5a4a3c85e86484c8f9597"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e7921f114a5a4a3c85e86484c8f9597">&#9670;&nbsp;</a></span>createHoughCirclesDetector()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../da/d80/classcv_1_1cuda_1_1HoughCirclesDetector.html">HoughCirclesDetector</a>&gt; cv::cuda::createHoughCirclesDetector </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>dp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>minDist</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cannyThreshold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>votesThreshold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>minRadius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxRadius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxCircles</em> = <code>4096</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../de/de4/cudaimgproc_8hpp.html">opencv2/cudaimgproc.hpp</a>&gt;</code></p>

<p>Creates implementation for <a class="el" href="../../da/d80/classcv_1_1cuda_1_1HoughCirclesDetector.html" title="Base class for circles detector algorithm. : ">cuda::HoughCirclesDetector</a> . </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dp</td><td>Inverse ratio of the accumulator resolution to the image resolution. For example, if dp=1 , the accumulator has the same resolution as the input image. If dp=2 , the accumulator has half as big width and height. </td></tr>
    <tr><td class="paramname">minDist</td><td>Minimum distance between the centers of the detected circles. If the parameter is too small, multiple neighbor circles may be falsely detected in addition to a true one. If it is too large, some circles may be missed. </td></tr>
    <tr><td class="paramname">cannyThreshold</td><td>The higher threshold of the two passed to Canny edge detector (the lower one is twice smaller). </td></tr>
    <tr><td class="paramname">votesThreshold</td><td>The accumulator threshold for the circle centers at the detection stage. The smaller it is, the more false circles may be detected. </td></tr>
    <tr><td class="paramname">minRadius</td><td>Minimum circle radius. </td></tr>
    <tr><td class="paramname">maxRadius</td><td>Maximum circle radius. </td></tr>
    <tr><td class="paramname">maxCircles</td><td>Maximum number of output circles. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga1ac6e82a77233239dc20e14d1c21ddf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ac6e82a77233239dc20e14d1c21ddf9">&#9670;&nbsp;</a></span>createHoughLinesDetector()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d2/dcd/classcv_1_1cuda_1_1HoughLinesDetector.html">HoughLinesDetector</a>&gt; cv::cuda::createHoughLinesDetector </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rho</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>theta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>threshold</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>doSort</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxLines</em> = <code>4096</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../de/de4/cudaimgproc_8hpp.html">opencv2/cudaimgproc.hpp</a>&gt;</code></p>

<p>Creates implementation for <a class="el" href="../../d2/dcd/classcv_1_1cuda_1_1HoughLinesDetector.html" title="Base class for lines detector algorithm. : ">cuda::HoughLinesDetector</a> . </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rho</td><td>Distance resolution of the accumulator in pixels. </td></tr>
    <tr><td class="paramname">theta</td><td>Angle resolution of the accumulator in radians. </td></tr>
    <tr><td class="paramname">threshold</td><td><a class="el" href="../../d0/d9e/structcv_1_1Accumulator.html">Accumulator</a> threshold parameter. Only those lines are returned that get enough votes ( \(&gt;\texttt{threshold}\) ). </td></tr>
    <tr><td class="paramname">doSort</td><td>Performs lines sort by votes. </td></tr>
    <tr><td class="paramname">maxLines</td><td>Maximum number of output lines. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga5a5959a24e8cb4da131bcffbf56b13cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5a5959a24e8cb4da131bcffbf56b13cd">&#9670;&nbsp;</a></span>createHoughSegmentDetector()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d6/df9/classcv_1_1cuda_1_1HoughSegmentDetector.html">HoughSegmentDetector</a>&gt; cv::cuda::createHoughSegmentDetector </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>rho</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>theta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>minLineLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxLineGap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxLines</em> = <code>4096</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="../../de/de4/cudaimgproc_8hpp.html">opencv2/cudaimgproc.hpp</a>&gt;</code></p>

<p>Creates implementation for <a class="el" href="../../d6/df9/classcv_1_1cuda_1_1HoughSegmentDetector.html" title="Base class for line segments detector algorithm. : ">cuda::HoughSegmentDetector</a> . </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rho</td><td>Distance resolution of the accumulator in pixels. </td></tr>
    <tr><td class="paramname">theta</td><td>Angle resolution of the accumulator in radians. </td></tr>
    <tr><td class="paramname">minLineLength</td><td>Minimum line length. Line segments shorter than that are rejected. </td></tr>
    <tr><td class="paramname">maxLineGap</td><td>Maximum allowed gap between points on the same line to link them. </td></tr>
    <tr><td class="paramname">maxLines</td><td>Maximum number of output lines. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:41 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
